<?php
$payload = file_get_contents('php://input');
$content = json_decode($payload, true);
file_put_contents("content.txt", var_export($content,TRUE), FILE_APPEND);//写入日志到log文件中